package com.seelyn.ddvideo.repository;

import com.seelyn.ddvideo.model.SystemUser;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author slacrey
 * @since 2017/7/4
 */
@Repository
public interface SystemUserRepository extends MongoRepository<SystemUser, String> {

    public SystemUser findByUsername(String username);

}